<?php

use Illuminate\Database\Migrations\Migration;

class ProductTables extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		//
		Schema::table("pages", function($table)
		{
			// indentifiers
			$table->smallInteger("status",0);
		});

		Schema::table("products", function($table)
		{
			// indentifiers
			$table->smallInteger("status",0);
		});
	}

	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		//
		Schema::table("pages", function($table)
		{
			// indentifiers
			$table->dropColumn("status");
		});

		Schema::table("products", function($table)
		{
			// indentifiers
			$table->dropColumn("status");
		});
	}

}